/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Service;
import com.ez2find.model.ServiceCategorie;
import com.ez2find.model.Site;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Administrador
 */
@Local
public interface ServiceManagerLocal {

    void create(Service service) throws Exception;

    void delete(Service service) throws Exception;

    Service find(long id);

    long lastCode();

    List<Service> listAll();

    List<Service> listServicesArea(Area area, boolean serviceC, ServiceCategorie serviceCategorie, String consult);

    List<Service> listServicesSite(Site site, boolean serviceC, ServiceCategorie serviceCategorie, String consult);

    void update(Service service) throws Exception;

    Service merge(Service service) throws Exception;
    
}
